package com.shut.vehicle.exception;

import com.shut.vehicle.util.StrParamUtil;
import lombok.extern.slf4j.Slf4j;

/**
 * @author 卢斌
 */
@Slf4j
public class ServiceException extends RuntimeException {

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(String messageBody, Object... arg) {
        super(StrParamUtil.into(messageBody, arg));
    }

}